package com.whut.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @ClassName:Courier
 * @Description:快递员实体类
 * @Author:liumengying
 * @Date: 2022/8/2 21:55
 * Version v1.0
 */
@Data
public class Courier {
    private Long id;      //快递员id
    private String name;  //快递员姓名
    private String sysPhone; //电话号码
    private String idCardNumber;  //工号
    private String password;     //密码
    private LocalDateTime loginTime;  //登陆时间

    @TableField(fill= FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill= FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill= FieldFill.INSERT)
    private Long createUser;

    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Long updateUser;

}



